package fr.udata.client.view.impl;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

import fr.udata.client.service.UserService;
import fr.udata.client.service.UserServiceAsync;
import fr.udata.client.view.SignupView;

public class SignupViewImpl extends Composite implements SignupView {

	private static SignupViewUiBinder uiBinder = GWT
			.create(SignupViewUiBinder.class);
	private final UserServiceAsync service = GWT.create(UserService.class);
	private Presenter presenter;
	private String name;

	interface SignupViewUiBinder extends UiBinder<Widget, SignupViewImpl> {
	}

	public SignupViewImpl() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	private Boolean verifyEmail(String email) {
		return true;
	}

	private Boolean verifyPassword() {
		return true;
	}

	@Override
	public void setName(String name) {
		this.name = name;

	}

	@Override
	public void setPresenter(Presenter presenter) {
		this.presenter = presenter;
	}

}
